package com.tisson.action;

import java.util.Enumeration;

import javax.servlet.http.HttpSession;

public class LogoutAction extends ActionSup {
	public String logout() {
		HttpSession session = request.getSession();
		Enumeration e = session.getAttributeNames();
		while (e.hasMoreElements()) {
			String sessionName = (String) e.nextElement();
			session.removeAttribute(sessionName);
		}
		return "success";
	}
}
